package com.ruoyi.system.domain;

public class TopoEdge {

    private Long edgeId;

    private Long fromNode;

    private Long toNode;

    private Integer length;

    private Long TopoId;

    public TopoEdge() {
    }

    public TopoEdge(Long edgeId, Long fromNode, Long toNode, Integer length, Long topoId) {
        this.edgeId = edgeId;
        this.fromNode = fromNode;
        this.toNode = toNode;
        this.length = length;
        TopoId = topoId;
    }

    public Long getEdgeId() {
        return edgeId;
    }

    public void setEdgeId(Long edgeId) {
        this.edgeId = edgeId;
    }

    public Long getFromNode() {
        return fromNode;
    }

    public void setFromNode(Long fromNode) {
        this.fromNode = fromNode;
    }

    public Long getToNode() {
        return toNode;
    }

    public void setToNode(Long toNode) {
        this.toNode = toNode;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Long getTopoId() {
        return TopoId;
    }

    public void setTopoId(Long topoId) {
        TopoId = topoId;
    }
}
